-- GENERATED SPELL FOR [Crimson Hand Centurion] --


function spell0_20048(pUnit, Event) --@Arcane Flurry,Self--
pUnit:FullCastSpellOnTarget(37268,pUnit)
pUnit:RegisterEvent('Sorts_20048', 10000, 1)
end

function Sorts_20048(pUnit, Event)
local choix_sorts_20048 = math.random(0, 0)
if choix_sorts_20048 == 0 then
pUnit:RegisterEvent('spell0_20048', 1, 1)
end
end

function mob20048_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20048', math.random(1500, 3000), 1)
end

function mob20048_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20048_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20048_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20048, 1, 'mob20048_Action')
RegisterUnitEvent(20048, 2, 'mob20048_Leave')
RegisterUnitEvent(20048, 3, 'mob20048_Kill')
RegisterUnitEvent(20048, 4, 'mob20048_Die')
